package com.wh.book2.mapper;

import com.wh.book2.model.BookInfo;
import com.wh.book2.model.UserInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from user_info where user_name = #{userName} and delete_flag = 0")
    public UserInfo getUserInfoByName(String userName);


}
